#ifndef SCENARIOPANEL_H_
#define SCENARIOPANEL_H_

#include "../../common/utils/Logger.h"

#include "../../persistencia/Persistor.h"
#include "../Surface.h"
#include "../Widget.h"
#include "Container.h"
#include "../Asteroide.h"
#include "../../common/lib/SDL_rotozoom.h"

#include <list>

class ScenarioPanel: public Container {

public:

	ScenarioPanel(int xPos, int yPos, Widget* parent);

protected:

	std::list<Widget*> elements;

	//Tener un iterador como atributo esta mal..
	std::list<Asteroide*>::iterator element_it;

	void setElements(std::list<Widget*> scenaryElements);


private:
	void resize(int w, int h);

};

#endif /* SCENARIOPANEL_H_ */
